<div class="box box-solid">
    <div class="box-body table-responsive no-padding">
        <form role="form" action="#" method="post">
            <input type="hidden" name="user[user_sid]" value="<?php echo $user['user_id']; ?>" />
            <div class="box-body">
            <?php if($user['type']==4):?>
                    <div class="form-group">
                        <label>联系电话</label>
                        <input type="text" name='user[link_way]' readonly class="form-control" maxlength="20" value="<?php echo $user['link_way']; ?>">
                        <p class="help-blockk"></p>
                    </div>

                    <div class="form-group">
                        <label>联系人</label>
                        <input type="text" name='user[link_man]' readonly class="form-control" maxlength="20" value="<?php echo $user['link_man']; ?>">
                        <p class="help-blockk"></p>
                    </div>
            <?php endif;?>


            <?php if($user['type']==3):?>
                    <div class="form-group">
                        <label>企业名称</label>
                        <input type="text" readonly name='user[enterprise]' class="form-control" maxlength="20" value="<?php echo $user['enterprise']; ?>">
                        <p class="help-blockk"></p>
                    </div>
            <?php endif;?>


            <?php if($user['type']==3):?>

                    <div class="form-group">
                        <label>性别</label>
                    <div class="controls">
                        <select  name='user[gender]'  readonly class="form-control  name">
                            <option <?php if(!empty($user['gender'])&&$user['gender']==1) echo 'selected' ?> value="1">男</option>
                            <option <?php if(!empty($user['gender'])&&$user['gender']==2) echo 'selected' ?> value="2">女</option>
                            <option <?php if($user['gender']!=1&&$user['gender']!=2) echo 'selected' ?> value="3">未知</option>
                        </select>
                    </div>
                    </div>
                    
                    <div class="form-group">
                        <label>身份证号</label>
                        <input type="text" name='user[idcard]' class="form-control" maxlength="20" value="<?php echo $user['idcard']; ?>">
                        <p class="help-blockk"></p>
                    </div>

                        <div class="form-group">
                            <label>手持身份证照</label>
                             <img src="<?php echo WxUtil::getGoodsImgUrl($user['idcard_photo'],300,300)?>"  />
                            <p class="help-blockk"></p>
                        </div> 

                        <div class="form-group">
                            <label>驾驶证照</label>
                             <img src="<?php echo WxUtil::getGoodsImgUrl($user['driving_licence'],300,300)?>"  />
                            <p class="help-blockk"></p>
                        </div> 

                        <div class="form-group">
                            <label>车头驾驶证照</label>
                             <img src="<?php echo WxUtil::getGoodsImgUrl($user['car_driving_licence'],300,300)?>"  />
                            <p class="help-blockk"></p>
                        </div> 

            <?php endif;?>
               
            <?php if($user['type']==4):?>
                        <div class="form-group">
                            <label>营业执照</label>
                             <img src="<?php echo WxUtil::getGoodsImgUrl($user['business_license'],300,300)?>"  />
                            <p class="help-blockk"></p>
                        </div> 
            <?php endif;?>
                       
                       <input type="hidden" name='user[business_license]' value="<?php echo $user['business_license']; ?>"/>
                    <div class="form-group">
                        <label>道路运输许可证号</label>
                        <input type="text" name='user[transport_licence_id]' readonly class="form-control" maxlength="20" value="<?php echo $user['transport_licence_id']; ?>">
                        <p class="help-blockk"></p>
                    </div>

               
                        <div class="form-group">
                            <label>道路运输许可证照</label>
                        <img src="<?php echo WxUtil::getGoodsImgUrl($user['transport_licence'],300,300)?>"  />
                              
                            <p class="help-blockk"></p>
                       <input type="hidden" name='user[transport_licence]' value="<?php echo $user['transport_licence']; ?>"/>
                        </div> 

                    <div class="box-footer">
                        <button class="btn btn-primary" type="submit">同意修改</button>
                        <a href="<?php echo $this->createUrl('user/applylist'); ?>">返回申请列表</a>
                    </div>

            </div>
        </form>
    </div>
</div>
